<include file="Public:header" />
<div id="zoneHeader">
    <h2>服务器概况</h2>
    <ul>
        <li><a href="?c=Server&a=add" class="btn">增加服务器</a></li>
    </ul>
</div><!--/#zoneHeader-->
<div id="zoneBody">
    <div id="zoneBodyContent">
        <table class="table2">
            <thead>
                <tr>
                    <th class="tAr">编号</th>
                    <th>服务器名称</th>
                    <th>IP</th>
                    <th>CPU</th>
                    <th>已运行时间</th>
                    <th>服务器时间</th>
                    <th>获取数据地址</th>
                    <th>最后一次更新数据时间</th>
                    <th>状态</th>
                    <th>备注</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <volist name="page.record" id="vo">
                <tr>
                    <td class="tAr">{$vo.id}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.ip}</td>
                    <td>{:get_opts_val($vo['opts'], 'cpu')}</td>
                    <td>{$vo.age}</td>
                    <td>{$vo.server_time}</td>
                    <td>{$vo.collect_monitor_base_url}</td>
                    <td>{$vo.last_collect_monitor_time}</td>
                    <td>{$vo.status|get_server_status_cn}</td>
                    <td>{:get_opts_val($vo['opts'], 'comment')}</td>
                    <td class="tAction">
                        <a href="?c=Server&a=modify&id={$vo.id}">编辑</a>
                        <a href="?c=Server&a=del&id={$vo.id}" t="firm" m="确认删除此服务器吗？">删除</a>
                    </td>
                </tr>
                </volist>
            </tbody>
        </table>
    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<div id="zoneFooter">{:W('Page/info', [$page])}</div><!--/#zoneFooter-->
<include file="Public:footer" />
